package com.stage.item
{
	import com.action.BaseAction;
	
	import flash.display.Sprite;

	public class Player extends BasePlayer
	{
		private var _action:BaseAction;
		
		public function Player(data:Object, con:Sprite)
		{
			super(data, con);
		}
		
		public function get action():BaseAction{
			return _action;
		}
		
		public function set action(value:BaseAction):void{
			if(_action){
				_action.end();
			}
			_action = value;
		}
	}
}